﻿<%@ Page Language="C#" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>很抱歉,您访问的页面出现错误</title>
    <style type="text/css">
        * {
            padding: 0;
            margin: 0;
        }

        body {
            color: #333;
            padding: 0;
            margin: 0;
            font-size: 12px;
            padding-top: 137px;
        }

        .all {
            width: 700px;
            margin: 100px auto 0px auto;
        }

        .con {
            float: left;
            width: 420px;
            height: 200px;
            background: url(Content/Images/404.png) no-repeat left top;
            padding-left: 280px;
        }

            .con h2 {
                font-size: 24px;
                font-family: 微软雅黑;
                font-weight: 100;
                margin: 0px 0px 20px 0px;
            }

            .con span {
                font-size: 16px;
                line-height: 26px;
            }

                .con span a {
                    color: red;
                }

            .con p {
                font-size: 14px;
                line-height: 24px;
            }
    </style>
    <script type="text/javascript">
        function showInfo() {
            if (document.getElementById("errorInfo").style.display == "none") {
                document.getElementById("errorInfo").style.display = "block"
            }
            else {
                document.getElementById("errorInfo").style.display = "none"
            }
        }
    </script>
</head>
<body>
    <div class="all">
        <div class="con">
            <h2>很抱歉，您访问的页面出现错误</h2>
            <span>您试图访问的页面可能出错或暂时不可用<br />
                页面即将跳转到<a href="Index.aspx">EasyFMS</a>页面
            </span>
            <br />
            <span id="infoControl" style="color: transparent; cursor: pointer;" onclick="showInfo()">显示详细信息</span>
        </div>
        <div id="errorInfo" style="display: none; text-align:left; color:red;">
            <%= Application["error"].ToString() %>
        </div>
    </div>
</body>
</html>
